// 购物车模块
import Storage from '@/untils/storage.js'
const address = {
	state() {
		return {
			defaultAddress:{}
		}
	},
	mutations: {
		setDefaultAddress(state,address){
			state.defaultAddress = address;
			Storage.set('defaultAddress',address)
		},
		storageToDefaultAddress(state,address){
			state.defaultAddress = address;
		}
	},
	actions: {},
	getters: {
		
	},
}

export default {
	address
}
